#ifndef _W6100_TCP_COMM_OP_H_
#define _W6100_TCP_COMM_OP_H_

#include "stdint.h"
#include "w6100_init.h"




int32_t W6100_tcp_connect(uint8_t sn, uint16_t *src_port, uint8_t *destip, uint16_t destport, uint8_t loopback_mode);
int32_t W6100_tcp_recv(uint8_t sn, uint8_t *recv_buf, uint16_t recv_len, uint16_t wait_tickets);
int32_t W6100_tcp_send(uint8_t sn, uint8_t *send_buf, uint16_t send_len);
int32_t W6100_tcp_disconnect(uint8_t sn);

#endif // !1
